    package com.ruoyi.system.domain;

    import java.math.BigDecimal;
    import java.util.Date;
    import com.fasterxml.jackson.annotation.JsonFormat;
    import org.apache.commons.lang3.builder.ToStringBuilder;
    import org.apache.commons.lang3.builder.ToStringStyle;
    import com.ruoyi.common.annotation.Excel;
    import com.ruoyi.common.core.domain.BaseEntity;

    /**
     * 薪资对象 salary
     *
     * @author ruoyi
     * @date 2023-12-15
     */
    public class Salary extends BaseEntity
    {
        private static final long serialVersionUID = 1L;

        /** 薪资ID */
        private Long salaryID;

        /** 员工ID */
        @Excel(name = "员工ID")
        private Long employeeID;

        /** 薪资日期 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "薪资日期", width = 30, dateFormat = "yyyy-MM-dd")
        private Date salaryDate;

        /** 基本工资 */
        @Excel(name = "基本工资")
        private BigDecimal basicSalary;

        /** 奖金 */
        @Excel(name = "奖金")
        private BigDecimal bonus;

        public void setSalaryID(Long salaryID)
        {
            this.salaryID = salaryID;
        }

        public Long getSalaryID()
        {
            return salaryID;
        }
        public void setEmployeeID(Long employeeID)
        {
            this.employeeID = employeeID;
        }

        public Long getEmployeeID()
        {
            return employeeID;
        }
        public void setSalaryDate(Date salaryDate)
        {
            this.salaryDate = salaryDate;
        }

        public Date getSalaryDate()
        {
            return salaryDate;
        }
        public void setBasicSalary(BigDecimal basicSalary)
        {
            this.basicSalary = basicSalary;
        }

        public BigDecimal getBasicSalary()
        {
            return basicSalary;
        }
        public void setBonus(BigDecimal bonus)
        {
            this.bonus = bonus;
        }

        public BigDecimal getBonus()
        {
            return bonus;
        }

        @Override
        public String toString() {
            return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("salaryID", getSalaryID())
                .append("employeeID", getEmployeeID())
                .append("salaryDate", getSalaryDate())
                .append("basicSalary", getBasicSalary())
                .append("bonus", getBonus())
                .toString();
        }
    }
